import axios from '@/libs/axios'

//设计档案
export const designList = params => { return axios.post('api/bs/designList', params).then(res => res.data)};
//设计档案--款号详情
export const designDetail = params => { return axios.post('api/bs/designDetail', params).then(res => res.data)};
//设计档案--款号详情--尺寸表
export const designDetailRule = params => { return axios.post('api/bs/designDetailRule', params).then(res => res.data)};
//设计档案--款号详情--尺寸表--保存
export const designDetailRuleSave = params => { return axios.post('api/bs/designDetailRuleSave', params).then(res => res.data)};
//设计档案--款号详情--绣花bom--保存
export const designDetailXhSave = params => { return axios.post('api/bs/designDetailXhSave', params).then(res => res.data)};
//设计档案--款号详情--尺寸表--解锁、锁定
export const designDetailLock = params => { return axios.post('api/bs/designDetailLock', params).then(res => res.data)};
//设计档案--款号详情--工艺
export const designDetailGy = params => { return axios.post('api/bs/designDetailGy', params).then(res => res.data)};
//设计档案--款号详情--工艺--保存
export const designDetailGySave = params => { return axios.post('api/bs/designDetailGySave', params).then(res => res.data)};
//设计档案--款号详情--附件
export const designDetailAttach = params => { return axios.post('api/bs/designDetailAttach', params).then(res => res.data)};
//设计档案--款号详情--附件--删除
export const designDetailAttachDel = params => { return axios.post('api/bs/designDetailAttachDel', params).then(res => res.data)};
//设计档案--款号详情--相关资料
export const designDetailFile = params => { return axios.post('api/bs/designDetailFile', params).then(res => res.data)};
//设计档案--款号详情--相关资料--保存
export const designDetailFileSave = params => { return axios.post('api/bs/designDetailFileSave', params).then(res => res.data)};
//设计档案--款号详情--缩水率--保存
export const designDetailMaterialSr = params => { return axios.post('api/bs/designDetailMaterialSr', params).then(res => res.data)};
//设计档案--停用、启用
export const designStop = params => { return axios.post('api/bs/designStop', params).then(res => res.data)};
//设计档案--确认流程状态
export const designCheck = params => { return axios.post('api/bs/designCheck', params).then(res => res.data)};
//设计档案--款式图片保存
export const designImageSave = params => { return axios.post('api/bs/designImageSave', params).then(res => res.data)};
//设计档案--查重
export const designDBCheck = params => { return axios.post('api/bs/designDBCheck', params).then(res => res.data)};
//设计档案--删除
export const designDel = params => { return axios.post('api/bs/designDel', params).then(res => res.data)};
//设计档案--保存
export const designSave = params => { return axios.post('api/bs/designSave', params).then(res => res.data)};
//设计档案--物料在用款号
export const designMaterialStyle = params => { return axios.post('api/bs/designMaterialStyle', params).then(res => res.data)};
